﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace D.Traceability.Write.API.APPlicant.Command
{
    /// <summary>
    /// 添加企业信息-命令
    /// </summary>
    public class AddUpdateEnterpriseCommand : IRequest<APIResult<string>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int? EnterId { get; set; }

        //////////////////////养殖企业信息////////////////////////////
        /// <summary>
        /// 养殖场
        /// </summary>
        public string? BreedName { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string? BreedChargeName { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public string? BreedNum { get; set; }


        //////////////////////屠宰企业信息////////////////////////////
        /// <summary>
        /// 公司名称
        /// </summary>
        public string? SlaughterName { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? SlaughterAdder { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        public string? SlaughterProvinceId { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string? SlaughterCityId { get; set; }

        /// <summary>
        /// 县
        /// </summary>
        public string? SlaughterCountyId { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? SlaughterCreteTime { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string? SlaughterBrief { get; set; }


        //////////////////////深加工企业信息////////////////////////////
        /// <summary>
        /// 深加工公司名称
        /// </summary>
        public string? DeepName { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? DeepNumber { get; set; }



        /// <summary>
        /// 生产批次
        /// </summary>
        public string? TraceaBatch { get; set; }
        /// <summary>
        /// 逻辑删除 false 未删除  true 删除
        /// </summary>
        public bool TraceaIsDelete { get; set; }



    }
}
